package com.example.demo.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.example.demo.model.IaWxTmplMsg;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author cx
 * @since 2019-04-22
 */
public interface IaWxTmplMsgMapper extends BaseMapper<IaWxTmplMsg> {

    /**
     * @param type  0 fail 1 success
     */
    int updateTemplNum(@Param("id")String id,@Param("type")String type,@Param("total")long total);

    /**
     * @param type  0 fail 1 success
     */
    int updateDataNum(@Param("id")String id,@Param("type")String type,@Param("total")long total);

    /**
     * @param type  0 fail 1 success
     */
    int updateHNum(@Param("id")String id,@Param("type")String type,@Param("total")long total);
}